package com.dyb.recuitment.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 区域表（国省市区）
 * </p>
 *
 * @author 邓宇斌
 * @since 2022-02-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class Area extends Model {

    private static final long serialVersionUID = 1L;

    /**
     * 区域ID
     */
    @TableId("Id")
    private Integer Id;

    /**
     * 区域名称
     */
    @TableField("Name")
    private String Name;

    /**
     * 父ID
     */
    @TableField("Pid")
    private Integer Pid;


}
